Repository navigation
Conversation
Rewrite the Encore guide around Encore.ts: declare the database in code, run it locally, connect a Neon account to Encore Cloud, and deploy to a production environment that uses Neon, or self-host with encore build docker. Add an agent prompt, and note that preview environments get a Neon branch for each pull request. Co-authored-by: Isaac <no-reply@databricks.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
philip
requested review from
andrelandgraf,
bgrenon,
danieltprice and
ruf-io
as code owners
November 20, 2026 23:56
Copybook1 definition changed since
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moves the Encore guide to the framework guide structure for Encore.ts. It installs the Encore CLI, creates an app, declares a database and a service in code, runs it locally on Encore's own Postgres, then connects a Neon account to Encore Cloud with an API key. From there it deploys to a production environment that uses Neon, or self-hosts with
encore build docker, using the pooled host for the app and the direct host for migrations. It adds a new agent prompt.It also notes that production environments run in your own AWS or Google Cloud account, that
staginguses an Encore-managed database, and that preview environments get a Neon branch for each pull request.The TypeScript code was type-checked against
encore.dev, and the CLI behavior was checked against Encore's source. The Encore Cloud and Docker steps follow Encore's current documentation.This pull request and its description were written by Isaac.